package com.hhq.sso.protocol.oauth2.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import com.hhq.sso.protocol.oauth2.entity.SsoUser;

/**
 * <p>
 * Description: some description
 * </p>
 *
 * @author : xiaodong.yang
 * @date : 2024/6/18 15:34
 */
public interface SsoUserRepository extends JpaRepository<SsoUser, String> {
    /**
     * 根据用户名称查询
     *
     * @param username
     * @return
     */
    SsoUser findByUsername(String username);
}
